package com.hqq.persistence_tier.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

/**
 * PersonRepository
 * Created by heqianqian on 2017/8/14.
 */
public interface PersonRepository extends CrudRepository<Person, Long>, JpaSpecificationExecutor<Person> {

    Person findByName(String name);

}
